<?php
namespace App\Admin\Contracts;
/**
 * Created by 荣耀电竞.
 * User: 林子彦 <278805354@qq.com>
 * Date: 2018/5/17 0017
 * Time: 17:45
 */
interface  MemberLevelInterface{

    /**
     * 获取列表数据
     * @param $where
     * @return mixed
     */
    public function getList($where);
    /**
     * 获取单条数据
     * @param $where
     * @return mixed
     */
   public function getInfo($where);

    /**
     * 添加数据
     * @param $data
     * @return mixed
     */
   public function saveData($data);

    /**
     * 删除数据
     * @param $where
     * @return mixed
     */
   public function deleteData($where);

    /**
     * 获取数据
     * @param $where
     * @return mixed
     */
   public function getListAll($where);

    /**
     * 更新数据
     * @param $where
     * @param $data
     * @return mixed
     */
   public function updateData($where,$data);

}